package com.unione.cloud.core.feign.api;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import com.unione.cloud.core.dto.Results;

import io.swagger.v3.oas.annotations.Operation;

public interface FeignDetail<T> {

	/**
	 * Feign 详情接口
	 * @param id
	 * @return
	 */
	@PostMapping("/detail")
	@Operation(summary = "加载详情",description = "根据id加载数据详情")
	public Results<T> detail(@RequestBody Long id);
	
	
	
}
